package io.renren.modules.com.service;

import java.util.List;
import java.util.Map;

import io.renren.modules.com.entity.ComAItemEntity;
import io.renren.modules.com.entity.ComCrChargingitemEntity;

/**
 * 
 * 
 * @author pfp
 * @email
 * @date 2017-07-27 16:42:49
 */
public interface ComAItemService {

	ComAItemEntity queryObject(Long serialNo);

	List<ComAItemEntity> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	void save(ComCrChargingitemEntity comCrChargingitem, Long aSerialNo, String collectionDays);

	void update(List<List<Object>> apportionList, Long crSerialNo);

	void delete(Long serialNo);

	void deleteByCrSerialNo(Long crSerialNo);

	void deleteEVA(Long crSerialNo);

	void deleteBatch(Long[] serialNos);

	void deleteBatchByCrSerialNos(Long[] crSerialNos);

	int querya(Map<String, Object> map);

	int queryb(Map<String, Object> map);

	Double queryd(Map<String, Object> map);

	Double querye(Map<String, Object> map);

	Double queryg(Map<String, Object> map);

	List<List<Object>> historicalRecords(Long crSerialNo);

	ComAItemEntity minMax(Long crSerialNo, String item);

}
